﻿@model IEnumerable<ElCharro01.Models.Product>
@{
    ViewBag.Title = "Home Page";
    Layout = "~/Views/Shared/_Layout.cshtml";
}
<div class="grid_10">
    <div id="slider" class="nivoSlider">
        @foreach (var item in Model)
        {
            if (item.Variant.Count() >= 1)
            {
            <a href="User/Variant/Details/@item.Variant.First().ID">
                <img height="780" width="780" src="/Content/Images/Raw/@item.Variant.First().Image.First().Path" alt="@item.Nome" title="#htmlcaption" /></a>
            }
        }
    </div>
</div>
